<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
    "https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
    <module name="TreeWalker">
        <module name="SuppressionCommentFilter"/>
        <module name="NeedBraces">
            <property name="tokens"
                      value="
                      LITERAL_DO,
                      LITERAL_ELSE,
                      LITERAL_FOR,
                      LITERAL_IF,
                      LITERAL_WHILE,
                      "
            />
        </module>
        <module name="NeedBraces">
            <property name="tokens"
                      value="
                      LAMBDA,
                      "
            />
            <property name="allowSingleLineStatement" value="true"/>
        </module>
        <module name="AvoidStarImport"/>
        <module name="AvoidStaticImport">
            <property name="excludes"
                      value="
                      io.restassured.RestAssured.*,
                      org.assertj.core.api.Assertions.*,
                      org.assertj.core.api.Assumptions.*,
                      org.awaitility.Awaitility.*,
                      org.junit.Assume.*,
                      org.mockito.Mockito.*,
                      org.mockito.ArgumentMatchers.*,
                      org.mockserver.model.HttpRequest.*,
                      org.mockserver.model.HttpResponse.*,
                      org.rnorth.ducttape.unreliables.Unreliables.*,
                      "
            />
        </module>
        <module name="RegexpSinglelineJava">
            <property name="maximum" value="0"/>
            <property name="format" value="org\.junit\.Assert\.assert" />
            <property name="message"
                      value="Please use AssertJ imports." />
            <property name="ignoreComments" value="true" />
        </module>
        <module name="RegexpSinglelineJava">
            <property name="maximum" value="0"/>
            <property name="format" value="org\.junit\.jupiter\.api\.Assertions\.assert" />
            <property name="message"
                      value="Please use AssertJ imports." />
            <property name="ignoreComments" value="true" />
        </module>
        <module name="EmptyLineSeparator">
            <property name="allowNoEmptyLineBetweenFields" value="false" />
        </module>
        <module name="OneStatementPerLineCheck"/>
        <module name="ModifierOrder" />
        <module name="SingleSpaceSeparator" />
    </module>
    <module name="RegexpSingleline">
        <property name="format" value="^\s*\*\s*@author"/>
        <property name="message" value="Remove author tags from source files."/>
    </module>
</module>
